import os

env = DefaultEnvironment().Clone()

# 编译
srcFiles = Glob('cJSON/*.c')
libcjson = Library(target='cjson', source=srcFiles)

# 安装
incFiles = Glob('cJSON/*.h')
Install(env['INC_DIR']+'/cJSON',incFiles)
Install(env['LIB_DIR'],libcjson)
